Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

76 revise extended abstract #77

Merged
merged 5 commits into from
Mar 13, 2024
Merged

76 revise extended abstract #77

merged 5 commits into from
Mar 13, 2024

Conversation

pat-alt
Copy link
Member

@pat-alt pat-alt commented Mar 12, 2024

closes #76

@pat-alt pat-alt linked an issue Mar 12, 2024 that may be closed by this pull request
3 tasks
@@ -277,7 +277,7 @@ predict(la, hcat(x...))
```

"""
function predict(la::BaseLaplace, X::AbstractArray; link_approx=:probit)
function predict(la::BaseLaplace, X::AbstractArray; link_approx=:probit, predict_proba::Bool=true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
function predict(la::BaseLaplace, X::AbstractArray; link_approx=:probit, predict_proba::Bool=true)
function predict(
la::BaseLaplace, X::AbstractArray; link_approx=:probit, predict_proba::Bool=true
)

return stack([predict(la, X[:, i]; link_approx=link_approx) for i in 1:size(X, 2)])
function predict(la::BaseLaplace, X::Matrix; link_approx=:probit, predict_proba::Bool=true)
return stack([
predict(la, X[:, i]; link_approx=link_approx, predict_proba=predict_proba) for i in 1:size(X, 2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
predict(la, X[:, i]; link_approx=link_approx, predict_proba=predict_proba) for i in 1:size(X, 2)
predict(la, X[:, i]; link_approx=link_approx, predict_proba=predict_proba) for
i in 1:size(X, 2)

Copy link

codecov bot commented Mar 12, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 96.00%. Comparing base (35f2bf0) to head (595ddce).

Files Patch % Lines
src/baselaplace.jl 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
- Coverage   96.16%   96.00%   -0.17%     
==========================================
  Files          15       15              
  Lines         573      575       +2     
==========================================
+ Hits          551      552       +1     
- Misses         22       23       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pat-alt pat-alt merged commit 3bf77cc into main Mar 13, 2024
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revise extended abstract
1 participant